Style Property (DataCombo Control)

       

Returns or sets a value that specifies the behavior and/or appearance of the control.

Syntax

object.Style [= integer]

The Style property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
integer Optional. A numeric expression that determines the style of the control, as shown in Settings.

Settings

The settings for integer are:

Constant Value Description
dbcDropdownCombo 0 (Default) Dropdown Combo. Includes a drop-down list and a text box. The user can select from the list or type in the text box.
dbcSimpleCombo 1 Simple Combo. Includes a text box and a list, which doesn't drop down. The user can select from the list or type in the text box. Increase the Height property to display more of the list.
dbcDropdownList 2 Dropdown List. This style allows selection only from the drop-down list.